package org.example.wikwok.pojo;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;

/**
 * collect
 * @author 
 */
public class Collect implements Serializable {
    private Integer id;

    private Integer videoid;

    private Integer userid;

    private Timestamp createtime;

    private static final long serialVersionUID = 1L;

    public Collect( Integer videoid, Integer userid,Timestamp createtime) {
        this.videoid = videoid;
        this.userid = userid;
        this.createtime = createtime;
    }

    public Collect(Integer id, Integer videoid, Integer userid, Timestamp createtime) {
        this.id = id;
        this.videoid = videoid;
        this.userid = userid;
        this.createtime = createtime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getVideoid() {
        return videoid;
    }

    public void setVideoid(Integer videoid) {
        this.videoid = videoid;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public Timestamp getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Timestamp createtime) {
        this.createtime = createtime;
    }

    @Override
    public String toString() {
        return "Collect{" +
                "id=" + id +
                ", videoid=" + videoid +
                ", userid=" + userid +
                ", createtime=" + createtime +
                '}';
    }
}